package com.qyhl.cloud.webtv.module_integral.taskcenter;


import com.qyhl.webtv.commonlib.entity.intergral.SignBean;
import com.qyhl.webtv.commonlib.entity.intergral.TaskCenterBean;

public interface TaskCenterContract {
    interface TaskCenterView {
        void getSuccess(TaskCenterBean bean);

        void getError(String msg);

        void getNetError(String msg);

        void doSignSuccess(SignBean bean);

        void doSignFailure(String msg);
    }

    interface TaskCenterPresenter {
        void getTaskCenterInfo(String username);

        void doSign(String username);

        void getSuccess(TaskCenterBean bean);

        void getError(int code, String msg);

        void doSignSuccess(SignBean bean);

        void doSignFailure(int code, String msg);
    }

    interface TaskCenterModel {
        void getTaskCenterInfo(String username);

        void doSign(String username);
    }
}
